// 8_3.c
#include <stdio.h>
int main()
{
#define MAXELS 5
    int nums[] = {2, 18, 1, 27, 16,30,25};
    int i, max;

    max = nums[0];

    for (i = 1; i < sizeof(nums)/sizeof(nums[0]); i++)
        if (max < nums[i])
            max = nums[i];

    printf("The maximum value is %d\n", max);

    return 0;
}